﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace DrugStorehouseMIS.Comm
{
    public class ConnectionString
    {
        //获取数据库连接字符串，其属于静态变量且只读，项目中所有文档可以直接使用，但不能修改 
        public static readonly string ConnString = ConfigurationManager.ConnectionStrings["SqlServerStr"].ConnectionString;
        //public static readonly string ConnString = ConfigurationManager.AppSettings["ConnectionString"];
    }
}
